//
//  WDAppLoginRequest.m
//  wd-serviceapp
//
//  Created by Bin Tang on 2024/8/21.
//

#import "WDAppLoginRequest.h"

@interface WDAppLoginRequest ()
@property (nonatomic, strong) WDAppLoginReqModel *reqModel;
@end

@implementation WDAppLoginRequest

- (instancetype)initWithModel:(WDAppLoginReqModel *)model {
    if (self = [super init]) {
        self.reqModel = model;
    }
    return self;
}

- (NSString *)requestUrl {
    return kAPP_LOGIN_SIGN;
}

- (TYZRequestSerializerType)requestSerializerType {
    return TYZRequestSerializerTypeHTTP;
}

- (TYZRequestMethod)requestMethod {
    return TYZRequestMethodPOST;
}

- (id)requestArgument {
    NSDictionary *params = [self.reqModel yy_modelToJSONObject];
    return params;
}

- (Class)rspClass {
    return [ZHCustomUserInfoModel class];
}



@end
